package com.liujit.bms.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liujit.bms.admin.domain.model.BlogMemberFeedback;
import com.liujit.bms.admin.domain.query.BlogMemberFeedbackQuery;
import com.liujit.bms.admin.domain.result.BlogMemberFeedbackResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 博客会员反馈Mapper
 * @Author liujun
 * @Date 2021-07-19 11:19:24
 */
@Mapper
public interface BlogMemberFeedbackMapper extends BaseMapper<BlogMemberFeedback> {


    /**
     * 分页查询
     *
     * @param page
     * @param query
     * @return
     * @author: liujun
     * @date: 2021/7/17 10:39 上午
     */
    IPage<BlogMemberFeedbackResult> selPage(Page<BlogMemberFeedbackResult> page,
            @Param("query") BlogMemberFeedbackQuery query);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     * @author: liujun
     * @date: 2021/7/17 10:39 上午
     */
    BlogMemberFeedbackResult selById(Long id);
}